<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <title>我的评价</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <script src="../statics/js/rem.js"></script>
    <script src="../statics/js/jquery.min.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="../statics/css/base.css"/>
    <link rel="stylesheet" type="text/css" href="../statics/css/page.css"/>
    <link rel="stylesheet" type="text/css" href="../statics/css/all.css"/>
    <link rel="stylesheet" type="text/css" href="../statics/css/mui.min.css"/>
    <link rel="stylesheet" type="text/css" href="../statics/css/loaders.min.css"/>
    <link rel="stylesheet" type="text/css" href="../statics/css/loading.css"/>
    <link rel="stylesheet" type="text/css" href="../statics/slick/slick.css"/>
	<link rel="stylesheet" type="text/css" href="../bootstrap-3.3.7-dist/css/bootstrap.css">
	<link rel="stylesheet" type="text/css" href="../statics/HG-css/MyRatingHG.css"/>
	<script type="text/javascript">
		$(window).load(function(){
			$(".loading").addClass("loader-chanage")
			$(".loading").fadeOut(300)
		})
	</script>
</head>
<!--loading页开始-->
<div class="loading">
	<div class="loader">
        <div class="loader-inner pacman">
          <div></div>
          <div></div>
          <div></div>
          <div></div>
          <div></div>
        </div>
	</div>
</div>
<!--loading页结束-->
	<body>
		<div class="headertwo clearfloat" id="header">
			<a href="../user/p-center.html?liindex=3" class="fl box-s"><i class="iconfont icon-arrow-l fl"></i></a>
			<p class="fl">我的评价</p>
		</div>

		<div class="about-detail clearfloat box-s" id="main">
			<div class="ctent clearfloat box-s">
				<ul class="list">
					<li id="list-li1"><span><a href="../com/comlist.html">全部评价</a></span></li>
					<li id="list-li2"><span>有图评价</span></li>
				</ul>
			</div>
			<c:forEach items="${comlist}" var="com">
				<div <c:if test="${com.com_img==null}">class="img-display"</c:if>>
			<div class="img-redius" >
				<a href="<%=path%>/user/p-center.html?liindex=${com.users.users_id}"><img id="img" src="<%=path%>/statics/fileUplodaImage/${com.users.image}"></a>
				<em>${com.users.name}</em>
			<div class="time"><fmt:formatDate value="${com.pltime}" pattern="yyyy-MM-dd"/></div>
				 <c:if test="${com.com_img!=null}"><div class="plimg"><img class="img" src="<%=path%>/statics/fileUplodaImage/${com.com_img}"></div></c:if>
			<div class="pl">${com.pl}</div>
				<a href="<%=path%>/houses/houseDetails/${com.house.house_id}">
				<div class="house">
					<c:set value="${fn:split(img.imgname, ',')}" var="names"/>
							<img src="<%=path%>/statics/upload/${names[0]}">
				<div class="zhuti">
					<h5 class="title">${com.house.title}</h5>
					<h6 class="money">${com.house.price}</h6>
				</div>
				</div>
				</a>
		</div>
				</div>
			</c:forEach>


		</div>
	</body>
	<script type="text/javascript" src="../statics/js/jquery-1.8.3.min.js" ></script>
	<script type="text/javascript" src="../statics/js/jquery.SuperSlide.2.1.js" ></script>
	<script type="text/javascript" src="../statics/slick/slick.min.js" ></script>
	<script type="text/javascript" src="../statics/js/jquery.leanModal.min.js"></script>
	<script type="text/javascript" src="../statics/js/tchuang.js" ></script>
	<script type="text/javascript" src="../statics/js/hmt.js" ></script>
	<script type="text/javascript" src="../statics/bootstrap-3.3.7-dist/js/bootstrap.js"></script>
	<script type="text/javascript" src="../statics/js-HG/MyratingHG.js"></script>
</html>
